package com.easytoolsoft.easyreport.engine.data;

/**
 * @author 贺俊皓
 * @version 2020.0617
 * @since v1.0.0.0
 */

public class PageMsg {

  /**
   * 每页条数
   */
  private int pageSize;
  /**
   * 最大条数
   */
  private long totalRowNum;
  /**
   * 当前页数
   */
  private int currentPageNum;

  public PageMsg() {
  }

  /**
   * @param pageSize 每页条数
   * @param totalRowNum 最大条数
   * @param currentPageNum currentPageNum
   * @retrun {@link }
   */
  public PageMsg(int pageSize, long totalRowNum, int currentPageNum) {
    this.pageSize = pageSize;
    this.totalRowNum = totalRowNum;
    this.currentPageNum = currentPageNum;
  }

  public int getPageSize() {
    return pageSize;
  }

  public void setPageSize(int pageSize) {
    this.pageSize = pageSize;
  }

  public long getTotalRowNum() {
    return totalRowNum;
  }

  public void setTotalRowNum(long totalRowNum) {
    this.totalRowNum = totalRowNum;
  }

  public int getCurrentPageNum() {
    return currentPageNum;
  }

  public void setCurrentPageNum(int currentPageNum) {
    this.currentPageNum = currentPageNum;
  }
}
